package com.wuyoucar.entity;

import java.io.Serializable;
import java.util.Date;

/*
    模拟车管所的车辆信息,替换车辆认证接口,在该表中的车辆才能通过核保
 */
public class TCarinfoSource  implements Serializable {
    private Integer id;
    private String  vin;//车架号
    private String  cartype;
    private Date    firstchecktime; //首次登记时间
    private String  engineid; //发动机号
    private String  carnumber; //车牌号

    public TCarinfoSource() {
    }

    public TCarinfoSource(Integer id, String vin, String cartype, Date firstchecktime, String engineid, String carnumber) {
        this.id = id;
        this.vin = vin;
        this.cartype = cartype;
        this.firstchecktime = firstchecktime;
        this.engineid = engineid;
        this.carnumber = carnumber;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getVin() {
        return vin;
    }

    public void setVin(String vin) {
        this.vin = vin;
    }

    public String getCartype() {
        return cartype;
    }

    public void setCartype(String cartype) {
        this.cartype = cartype;
    }

    public Date getFirstchecktime() {
        return firstchecktime;
    }

    public void setFirstchecktime(Date firstchecktime) {
        this.firstchecktime = firstchecktime;
    }

    public String getEngineid() {
        return engineid;
    }

    public void setEngineid(String engineid) {
        this.engineid = engineid;
    }

    public String getCarnumber() {
        return carnumber;
    }

    public void setCarnumber(String carnumber) {
        this.carnumber = carnumber;
    }

    @Override
    public String toString() {
        return "TCarinfoSource{" + "id=" + id + ", vin='" + vin + '\'' + ", cartype='" + cartype + '\'' + ", firstchecktime=" + firstchecktime + ", engineid='" + engineid + '\'' + ", carnumber='" + carnumber + '\'' + '}';
    }
}
